package com.eshopkeeper.dao.sys;

import com.eshopkeeper.model.sys.SysMenu;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysAuthorizeMapper {

	void deleteUserMenu(Long userId);

	void deleteUserRole(Long userId);

	void deleteRoleMenu(Long roleId);

	List<Long> getAuthorize(Long userId);

	List<String> queryPermissionByUserId(@Param("userId") Long userId);

	List<SysMenu> querySysMenuList(Long userId);

}
